import { createRouter, RouteRecordRaw, createWebHashHistory } from "vue-router";
import Home from "../view/index.vue";
const routes = [
        {
            path: "/",
            component: Home,
            name: "home",
        },
  //   {
  //     path: "/product",
  //     component: () => import("../views/Product.vue"),
  //     name: "product",
  //   },
];

const router = createRouter({
      history: createWebHashHistory(), //哈希值模式
      routes,
});

export default router;